\section{Visualization}
After pushing the ``Start'' button in the scenario window the ``Load Scenario''
window will pop up. In this phase all the initialisations will be performed and
you will be informed of the progress in $(1)$. If everything loaded smoothly you
can open the visualization if you press the button at $(2)$.
Three new windows will open, one with the visualization, one with the state
information and configuration options and a legend window.

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/loadscenario.png}
  \caption{Load Scenario}
  \label{loadscenario}
\end{figure}

\subsection{Visualization Window}
\begin{itemize}
\item You can control the camera and the point of view:
\begin{itemize}
  \item To move the camera and the point of view so that it seems you move the
  whole scene, you just press the left mouse button and move the cursor
  in the desired direction.
  \item To just move the camera, you have to press control plus the left mouse
  button and move the cursor. If you move the cursor up or down, you can zoom.
  \item The mouse wheel acts as zooming function.
\end{itemize}

\item If you want to rotate every single gauge for itself, just press shift plus
the left mouse button and move the cursor.

\item To put the whole scene in the initial position you just have to press
``c'' (c for center). 

\item If you want to swap the position of two gauges you have to push the
``s'' button down (s for selection mode) then left click on gauge one and drag
it to gauge two, release the left mouse button and then release the ``s'' button.

\item To make changes to a gauge push the ``s'' button down and right click on
the desired gauge. A window with the accordant gauge configuration will pop up.

\end{itemize}
\subsection{Switch Visualization Window}
When the visualization of a switch started the window in figure \ref{stateview}
will be visible. If you close this window the windows of the current
visualization will be closed.

\subsubsection{View Information and State Section}
In the section ``View Information and State'' you can change
the renderrate at $(1)$. With the option ``Display not Connected '' at $(2)$
you can hide all inactive ports. If you changed the view you can save the
changes with the buttons at $(3)$. If you got a gauge that is multiplied for
every port the saved view will create a new gauge for every port.
The button ``Open Legend'' at $(3)$ opens the legend window. 

\subsubsection{Network Information and State}
The section ``Network Information and State'' displays at the first line the
name of the switch, its adress and the port of the connection. Then at $(4)$
there's the switch up time, the sum of all sent data packets and the sum of all
received data packets which is the sum of the properly received data packets
and the timed out packets. If the sum of the timed out packets is rapidly increasing you
might consider to enter a lower request rate at $(5)$. After entering a new
value you have to press the button ``Apply New Request Rate''.
The button ``Query Signal'' at $(6)$ opens a new query window where you can
perform an inquiry at the switch with any signal and port. 

 \begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/StateView.png}
  \caption{State View}
  \label{stateview}
\end{figure}



\subsection{Replay Record Files Window}
If you have chosen to replay a record file you will get the window in figure
\ref{recordstate}. The section ``View Information and State'' is the same like
in the switch visualization. The replay section displays the current run time of
the replay and lets you control it.
\begin{enumerate}
\item Fast backward button: Skip back for a minute.
\item Backward button: Skip back for ten seconds.
\item Play button: Time continues to run.
\item Pause button: Time and visualisation freezes.
\item Stop button: Time stops and the visualisation is back at the beginning.
\item Forward button: Skip forward for ten seconds.
\item Fast Forward buttion: Skip forward for a minute.
\end{enumerate}
\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/recordstate.png}
  \caption{Record State}
  \label{recordstate}
\end{figure}

\subsection{Legend Window}
In figure \ref{legend} the legend window is represented. It lists the signals
and the related colors for all gauges in the view. 

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/legend.png}
  \caption{Legend}
  \label{legend}
\end{figure}